//
//  ViewController.h
//  CustomCamera
//
//  Created by SuJiang on 2018/4/2.
//  Copyright © 2018年 appscomm. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "LYCameraManager.h"

@interface ViewController : UIViewController

- (void) resumeInterruptedSession;

- (void) switchToMode:(LYCameraCaptureMode)mode;

#pragma mark - 对焦
- (void) switchFocusMode:(AVCaptureFocusMode)mode;

/**
 改变焦距

 @param position 0-1
 */
- (void) setFocusLensPosition:(CGFloat)position;

#pragma mark - 曝光
/**
 设置曝光倾斜
 
 @param bias -8 ~ 8
 */
- (void) setExposureTargetBias:(CGFloat)bias;

@end

